package cn.liulin.spring_boot_study.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Service;

/**
 * cn.liulin.spring_boot_study.config$
 *
 * @author ll
 * @date 2021-10-22 11:13:44
 **/
@Configuration
//如果自己写入了ComponentScan想要扫描的路径，那么代码会按照指定路径去加载包
@ComponentScan(basePackages = "cn.liulin.spring_boot_study.pojo",
        //此处@ComponentScan.Filter必须要过滤注解类型数据
        excludeFilters = {@ComponentScan.Filter(classes = Service.class)}, lazyInit = true)
public class AppTestConfig {
}
